package com.ssy.lingxi.marketing.api.model.request;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 提交订单优惠券请求类
 * @author yzc
 * @version 2.0.0
 * @date 2021/11/3
 */
@Getter
@Setter
public class CartOrderReq implements Serializable {

    private static final long serialVersionUID = 1732424894774019088L;

    /**
     * 当前登录会员id
     */
    private Long memberId;

    /**
     * 当前登录会员角色id
     */
    private Long roleId;

    /**
     * 商城id
     */
    private Long shopId;

    /**
     * 订单金额(订单金额(所有商品经过活动计算后总金额))
     */
    private BigDecimal orderAmount;

    /**
     * 供应会员列表
     */
    private List<CartVendorReq> cartVendorReqList;

    /**
     * 优惠券列表
     */
    private List<CouponAvailableReq> couponAvailableReqList;
}
